import UIKit

let team = ["apple","banana","pineapple"]
let onlyi = team.filter { name in
    name.hasPrefix("i")
}

